package main;

import java.awt.Color;

/**
 * AppConstants contains constants for colors, strings etc., which is all static
 * and therefore references by AppConstants.x throughout the application.
 */
public class AppConstants {

	// Game frame:
	public static final String GAME_FRAME_TITLE_APP = "4 In a Row";
	// Setup game dialog:
	public static final String SETUP_GAME_DIALOG_TITLE = "New Game";
	// Winner dialog:
	public static final String WINNER_DIALOG_TITLE = "Game Won";
	// Tie dialog:
	public static final String DRAWN_DIALOG_TITLE = "Game Tie";
	// Winning flashes:
	public static final int NUM_WIN_FLASHES = 6;
	public static final long FLASH_DELAY = 100;
	public static final Color COLOR_DISC_FLASH = Color.BLACK;
	// Disc drop speed:
	public static final int FALL_TIME = 1000; // ms
	// Icons & images:
	public static final String IMAGE_APP_ICON = "image/disc.png";
	public static final String IMAGE_SPLASH = "image/splash.png";
	public static final String IMAGE_BOARD = "image/board.png";
	public static final String IMAGE_DISC = "image/disc.png";
	public static final String IMAGE_DISC_EMPTY = "image/empty.png";
	public static final String IMAGE_TIE = "image/black.png";
	// Colors:
	public static final Color COLOR_BOARD_BACKGROUND = new Color(235, 198, 153);
	public static final Color COLOR_GRID_BORDER = Color.GRAY;
	public static final Color COLOR_PANEL_BORDER = Color.BLACK;
	public static final Color COLOR_PANEL_BACKGROUND = Color.WHITE;
	public static final Color COLOR_PANEL_FOREGROUND = new Color(20, 20, 20);
	public static final Color COLOR_DEFAULT_DISC_1 = new Color(240, 70, 40);
	public static final Color COLOR_DEFAULT_DISC_2 = new Color(250, 220, 40);
}
